package com.crm.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.util.List;
import java.util.Map;

@Data
public class CluePage {

    private int pageNum = 1;     // 默认第一页
    private int pageSize = 10;   // 默认每页10条
    private Map<String, String> params;
    private int id;
    private String phone;
    private String owner;
    private List<Long> userids;
    private Integer status;
    private Integer channel;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String beginCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endCreateTime;
//    private CluePageParams params= new CluePageParams(); // 接收嵌套查询条件
}
